import React from "react";
import EditPage, { createFields } from "../../Component/ResourceList/Edit";
import { FormattedMessage } from "react-intl";

const fields = createFields([{
    label: "admin.pages.setting.options.name",
    name: "name",
    type: "Input",
    required: true
},{
    label: "admin.pages.setting.options.value",
    name: "dataValue",
    type: "Input",
    required: true
}]);
const CategoryEdit = () => {
    return (
        <EditPage
            submitEndPoint="special.submit"
            fields={fields}
            initValues={{
                dataType: "specialType"
            }}
        />
    )
};

export default CategoryEdit;

